package org.activequant.data.util;

import org.activequant.data.annotations.Vendor;

/**
 * @TODO desc<br>
 * <br>
 * <b>History:</b><br>
 *  - [16.01.2008] Created (Erik Nijkamp)<br>
 *
 *  @author Erik Nijkamp
 */
public class AnnotationUtils {
	/**
	 * returns the value(String) of the Vendor annotation defined on the Class of the given object(Object)
	 * @param object
	 * @return
	 */
	public static String getVendor(Object object) {
		Vendor decoration = object.getClass().getAnnotation(Vendor.class);
		return decoration.value();
	}

}
